package topcoder.srm582;

public class SemiPerfectSquare {
	
	public String check(int N)
	{
		int i = 1;
		int j = 1;
		
		for(i = 1; i < N; i++) {
			for(j = i + 1; (i * j * j) < N; j++)
				;
			if(i * j * j == N)
				return "Yes";
		}
		return "No";
		
	}
	public static void main(String[] args) {
		SemiPerfectSquare sps = new SemiPerfectSquare();
		System.out.println(sps.check(4));
	}

}
